package com.sys.platform.mapper;

import com.sys.platform.entity.EntranceGuard;
import org.apache.ibatis.annotations.Select;

import java.util.List;

public interface EntranceGuardMapper {

    @Select("select ip_address as 'ipAddress', `port` from entrance_guard where type = 1 and `status` = 0 and `port` is not null order by id")
    List<EntranceGuard> selectEntranceGuardList();

}
